#include <wx/clntdata.h>
#include <wx/textctrl.h>

#include <Klein/Application/EditorDialog.h>

EditorDialog::EditorDialog( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
{
	SetSizeHints( wxDefaultSize, wxDefaultSize );

	//
	wxFlexGridSizer* flexGridSizer = new wxFlexGridSizer(2, 3, 0, 0);
	flexGridSizer->AddGrowableCol(0);
	flexGridSizer->AddGrowableCol(1);
	flexGridSizer->AddGrowableCol(2);
	flexGridSizer->SetFlexibleDirection(wxBOTH);
	flexGridSizer->SetNonFlexibleGrowMode(wxFLEX_GROWMODE_ALL);

	SetSizer(flexGridSizer);

	//
	Layout();

	Centre(wxBOTH);
}

EditorDialog::~EditorDialog()
{
}
